package com.kbs.pay.management.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: jianchen
 * @Date: 2019/6/21 15:23
 * @Description: 退款订单申请
 */
public class RefundApplication implements Serializable {
    /**
     * 退款申请id
     */
    private Long refundApplicationId;

    /**
     * 支付订单id
     */
    private Long payOrderId;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 订单类型: 1 点餐 2超市 3现金 4银联
     */
    private Integer orderType;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 申请原因
     */
    private String refundApplicationReason;

    /**
     * 申请退款商户id
     */
    private Long merchantId;

    /**
     * 退款金额
     */
    private Integer refundAmount;

    /**
     * 退款状态: 1 成功 2 失败 3 异常
     */
    private Integer refundStatus;

    /**
     * 操作人
     */
    private Long refundBy;

    /**
     * 操作时间
     */
    private Date refundTime;

    /**
     * 退款操作失败备注
     */
    private String refundRemark;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private Long createBy;

    /**
     *
     */
    private Date updateTime;

    /**
     *
     */
    private Long updaeBy;

    /**
     *
     */
    private Boolean isDelete;

    private static final long serialVersionUID = 1L;

    public Long getRefundApplicationId() {
        return refundApplicationId;
    }

    public void setRefundApplicationId(Long refundApplicationId) {
        this.refundApplicationId = refundApplicationId;
    }

    public Long getPayOrderId() {
        return payOrderId;
    }

    public void setPayOrderId(Long payOrderId) {
        this.payOrderId = payOrderId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getRefundApplicationReason() {
        return refundApplicationReason;
    }

    public void setRefundApplicationReason(String refundApplicationReason) {
        this.refundApplicationReason = refundApplicationReason;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Integer getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Integer refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Integer getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(Integer refundStatus) {
        this.refundStatus = refundStatus;
    }

    public Long getRefundBy() {
        return refundBy;
    }

    public void setRefundBy(Long refundBy) {
        this.refundBy = refundBy;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    public String getRefundRemark() {
        return refundRemark;
    }

    public void setRefundRemark(String refundRemark) {
        this.refundRemark = refundRemark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdaeBy() {
        return updaeBy;
    }

    public void setUpdaeBy(Long updaeBy) {
        this.updaeBy = updaeBy;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "RefundApplication{" +
                "refundApplicationId=" + refundApplicationId +
                ", payOrderId=" + payOrderId +
                ", orderId=" + orderId +
                ", orderType=" + orderType +
                ", userId=" + userId +
                ", refundApplicationReason='" + refundApplicationReason + '\'' +
                ", merchantId=" + merchantId +
                ", refundAmount=" + refundAmount +
                ", refundStatus=" + refundStatus +
                ", refundBy=" + refundBy +
                ", refundTime=" + refundTime +
                ", refundRemark='" + refundRemark + '\'' +
                ", createTime=" + createTime +
                ", createBy=" + createBy +
                ", updateTime=" + updateTime +
                ", updaeBy=" + updaeBy +
                ", isDelete=" + isDelete +
                '}';
    }
}